<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page language="java" import="java.util.*,
								 com.kylin.common.*,
								 com.kylin.common.util.*,
                                 com.kylin.module.user.orm.User,
                                 org.apache.struts.util.LabelValueBean" %>
<%@ include file="/common/include/pageExpires.jsp"%>
<%@ include file="/common/include/taglibs.jsp"%>
<%
    String nativeLanguage = request.getParameter("sysLanguage");
    String practLanguage = request.getParameter("practLanguage");
    if(nativeLanguage == null 
	   || nativeLanguage.equals("") 
	   || practLanguage == null
	   || practLanguage.equals("")  
	 ){
	     out.println("请选择 母语 和 学习语言");
	     return;
	 }
    Locale nativeLocal = UTool.getLocaleByLang(nativeLanguage); 
    Locale practLocal = UTool.getLocaleByLang(practLanguage); 
    session.setAttribute(org.apache.struts.Globals.LOCALE_KEY,nativeLocal);
    session.setAttribute(Constants.CURR_PRACTLANGUAGE,practLocal);
    response.sendRedirect("/module/study/");
%>
 

